package com.feihao.domian;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
//@TableName("tb_user")
public class User {

    //设置id生成策略:AUTO 数据库自增
//    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("user_name")
    private String userName;

    private String password;
    private String name;
    private Integer age;
    private String email;

    @TableField(exist = false)
    private String info;
}
